/*
 * Copyright (C) 2011 hljdrl@gmail.com
 * 
 *            mail:hljdrl@gmail.com
 * 
 * All rights reserved.
 */
package org.andtools.net;

import java.io.InputStream;
/**
 * 
 * hljdrl@gmail.com
 */
public interface DownLoadListener {
	
	/**
	 * 
	 * 
	 * */
	void result(HttpInfo info,String file)throws Exception;
	
	/**
	 * 
	 * 
	 * */
	void updataProgress (HttpInfo info,int max,int progress)throws Exception;
	/**
	 * 
	 * 
	 * */
	void resultException(Exception ex,int status)throws Exception;
	/**
	 * 
	 * */
	void exit(int action);

}
